package com.zwj.learning.timetable.controller;

import com.zwj.common.R;
import com.zwj.learning.timetable.service.GradeLocalSemesterService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;

@RestController
@RequestMapping("/gradeLocalSemester")
public class GradeLocalSemesterController {

    @Resource
    private GradeLocalSemesterService gradeLocalSemesterService;

    @GetMapping("/getGradeLocalSemester")
    public R<Integer> getGradeLocalSemester(){

        return R.success(gradeLocalSemesterService.getGradeLocalSemester());
    }
}
